package com.slmxz.tms.document.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.slmxz.tms.document.model.entity.Business;
import com.slmxz.tms.document.model.vo.BusinessVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 业务类型Mapper接口
 * @author sunyao
 * @Date 2024-11-15
 */
public interface BusinessMapper extends BaseMapper<Business> {

    /**
     * 获取业务类型分页数据
     *
     * @param page 分页对象
     * @return
     */
    List<BusinessVO> selectBusinessPage(IPage<BusinessVO> page, @Param("business") BusinessVO business);

}
